<template>
  <div class="main">
    <h1>Manage Your Notes</h1>
    <h3>Share Notes</h3>
    <p class="toBegin" @click="toUpload">BEGIN</p>
  </div>
</template>

<script>
export default {
  methods:{
    toUpload(){
      this.$router.push({
        path:"/main/upload"
      })
    }
  }
};
</script>

<style scoped>
/* 主模块 */
.main {
  background-image: url("@/assets/big_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.main h1 {
  position: absolute;
  top: 100px;
  left: 130px;
  line-height: 100px;
  font-size: 70px;
  color: #fff;
}

.main h3 {
  position: absolute;
  top: 150px;
  left: 130px;
  line-height: 100px;
  font-size: 20px;
  color: #fff;
}

.toBegin {
  width: 65%;
  height: 100px;
  display: inline-block;
  position: absolute;
  bottom: 60px;
  left: 130px;
  line-height: 100px;
  text-align: center;
  font-size: 70px;
  background-color: #20202a;
  color: #39383e;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.toBegin:hover {
  background-color: #2ecc71;
  color: #fff;
}
</style>